From: William Manley Date: Wed, 31 Aug 2016 16:25:22 +0000 (+0100) Subject: switchroot: Fix build on Ubuntu X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~47^2~12 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=4d3b93e2ad1041fa36e740cba35284d17752e928;p=ostree.git switchroot: Fix build on Ubuntu Was failing with error: src/switchroot/ostree-prepare-root.c:30:20: fatal error: config.h: No such file or directory compilation terminated. Reported by and fix provided by @gatispaeglis. Closes: #485 Approved by: cgwalters --- diff --git a/Makefile-switchroot.am b/Makefile-switchroot.am index 9c215e44..0b30a965 100644 --- a/Makefile-switchroot.am +++ b/Makefile-switchroot.am @@ -38,7 +38,7 @@ if BUILDOPT_USE_STATIC_COMPILER ostree_boot_SCRIPTS = ostree-prepare-root ostree-prepare-root : $(ostree_prepare_root_SOURCES) - $(STATIC_COMPILER) -o $@ -static $(ostree_prepare_root_SOURCES) $(AM_CPPFLAGS) $(AM_CFLAGS) + $(STATIC_COMPILER) -o $@ -static $(ostree_prepare_root_SOURCES) $(AM_CPPFLAGS) $(AM_CFLAGS) $(DEFAULT_INCLUDES) else ostree_boot_PROGRAMS += ostree-prepare-root